package behavior.strategy;

public class ConcreteStrategy {
    public static class OperationAdd implements CalculateStrategy {
        @Override
        public int doOperation(int num1, int num2) {
            return num1 + num2;
        }
    }

    public static class OperationSub implements CalculateStrategy {
        @Override
        public int doOperation(int num1, int num2) {
            return num1 - num2;
        }
    }

    public static class OperationMul implements CalculateStrategy {
        @Override
        public int doOperation(int num1, int num2) {
            return num1 * num2;
        }
    }

    static class OperationDiv implements CalculateStrategy {
        @Override
        public int doOperation(int num1, int num2) {
            return num1 / num2;
        }
    }


}
